package com.hskn.hss.module.worklog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WorkLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "work_log_id", type = IdType.ASSIGN_UUID)
    private String workLogId;

    private String title;

    private String content;

    /**
     * 多个照片用“,”隔开
     */
    private String imgurls;

    private String videourl;

    private Date createTime;

    private String createUid;

    private String createName;

    private Date updateTime;

    private String updateUid;

    /**
     * 多个用“,”隔开
     */
    private String leaderUids;

    private String depid;
    private Integer isRevoke;
    /**
     * 网格ID
     */
    private String gridId;
    /**
     * 网格名称
     */
    private String gridName;
    /**
     * 作业类型ID
     */
    private String jobTypeId;
    /**
     * 作业类型名称
     */
    @TableField(exist = false)
    private String jobTypeName;
    /**
     * 主体id
     */
    private  String subjectId;
    /**
     * 主体名
     */
    private String subjectName;
    /**
     * 主体类型
     */
    private String subjectType;
    /**
     * 日志类型
     */
    private Integer logType;

}
